package com.chenyue.cm.match.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 赛程晋级人员记录
 * </p>
 *
 * @author Lbx
 * @since 2021-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "JdMatchFormatMember对象", description = "赛程晋级人员记录")
public class JdMatchFormatMember extends Model<JdMatchFormatMember> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "赛程id")
    private Integer formatId;

    @ApiModelProperty(value = "赛程总分")
    private Integer score;

    @ApiModelProperty(value = "赛程排名")
    private Integer rank;

    @ApiModelProperty(value = "团队id")
    private Integer groupId;

    @ApiModelProperty(value = "项目id")
    private Integer itemId;

    @ApiModelProperty(value = "晋级状态 1晋级")
    private Integer promotionState;

    @ApiModelProperty(value = "个人连麦回放")
    private String videoUrl;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
